package com.clip.entity;


public class UserQuestion implements java.io.Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = -7832041159187879691L;
	private Integer id;
	private Integer uid;
	private String name;
	private String title;
	private String filePath;
	private String fileName;
	private String context;
	private Long createDate;
	private String fileRoot = "F:\\clip24Pic\\";
	private String webRoot = "http://clip24.net/clip24Pic/";
	
	public UserQuestion(){}
	
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public Integer getUid() {
		return uid;
	}
	public void setUid(Integer uid) {
		this.uid = uid;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getFilePath() {
		return filePath;
	}
	public void setFilePath(String filePath) {
		this.filePath = filePath;
	}
	public String getFileName() {
		return fileName;
	}
	public void setFileName(String fileName) {
		this.fileName = fileName;
	}
	public String getContext() {
		return context;
	}
	public void setContext(String context) {
		this.context = context;
	}
	public Long getCreateDate() {
		return createDate;
	}
	public void setCreateDate(Long createDate) {
		this.createDate = createDate;
	}
	public String getFileRoot() {
		return fileRoot;
	}
	public String getWebRoot() {
		return webRoot;
	}
	public String getFilePathStr(){
		return this.getFileRoot()+this.getFilePath()+"/"+this.getFileName();
	}
	public String getWebPathStr(){
		return this.getWebRoot()+this.getFilePath()+"/"+this.getFileName();
	}
}
